/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package org.bsplus.client.util;

import com.google.gwt.core.client.GWT;
import com.google.gwt.user.client.Window;
import com.google.gwt.user.client.rpc.AsyncCallback;

public abstract class GenericAsyncCallback<T> implements AsyncCallback<T>
{
    @Override
    public final void onFailure(Throwable caught)
    {
        GWT.log(caught.getMessage(), caught);
        Window.alert("Oops... " + caught.getMessage());
    }
}
